/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
package com.erp.prod.wip.dao.data;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @description
 * @date 2020年8月21日
 * @author dongbin
 * 
 */
public class DataBox {
    
    //获取生产任务类型
    public static Map<String, String> getTaskTypeMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("STANDARD", "标准");
        map.put("NOSTANDARD", "非标准");
        return map;
    }
    
    //获取生产任务状态
    public static Map<String, String> getTaskStatusMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("NOASSIGN", "未发放");
        map.put("ASSIGN", "已发放");
        map.put("FINISH", "完成");
        map.put("CANCEL", "取消");
        return map;
    }
    
    //获取生产工序状态
    public static Map<String, String> getTaskProcedureStatusMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("WAIT", "等待");
        map.put("WORK", "加工");
        map.put("SHIFT", "转移");
        return map;
    }
    
    //获取生产工序转移单类型
    public static Map<String, String> getTaskProcedureShiftTypeMap(){
        Map<String, String> map = new LinkedHashMap<String, String>();
        map.put("SHIFT", "转移");
        map.put("FINISH", "完工");
        map.put("RETURN", "退货");
        return map;
    }

}
